Fix bug #16179 with ls-lisp emulation of the ls -s switch.
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Dec 2013 16:01:43 +0000 (18:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Dec 2013 16:01:43 +0000 (18:01 +0200)
commit10652747ef412d900545a905610f97841a91e990
treeabd7c7e3d22df8843adb74181cdf597337bb5376
parent80b544e77884a620f204b7228f2d2a9f84b2fa34
Fix bug #16179 with ls-lisp emulation of the ls -s switch.

 src/ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
 formats for displaying file sizes when the -s switch is given.
 Instead, compute a separate format for displaying the size in
 blocks, which is displayed in addition to the "regular" size.
 When -h is given in addition to -s, produce size in blocks in
 human-readable form as well.
lisp/ChangeLog
lisp/ls-lisp.el